﻿using MiniFox.Utility;
using System;
using System.Collections.Specialized;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Mime;
using System.Text;

namespace MiniFox.Net.Models
{
    /// <summary>
    /// 
    /// </summary>
    public class WebMessageRequest : WebMessageRequestBase
    {
        /// <summary>
        /// 
        /// </summary>
        public WebMessageRequest() : this(null)
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="query"></param>
        public WebMessageRequest(object query) : this(query, null)
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="query"></param>
        /// <param name="headers"></param>
        public WebMessageRequest(object query, object headers) : this(HttpMethod.Get, query, headers)
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="method"></param>
        public WebMessageRequest(HttpMethod method) : this(method, null)
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="method"></param>
        /// <param name="query"></param>
        public WebMessageRequest(HttpMethod method, object query) : this(method, query, null)
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="method"></param>
        /// <param name="query"></param>
        /// <param name="headers"></param>
        public WebMessageRequest(HttpMethod method, object query, object headers) : base(method, query, headers)
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotSupportedException"></exception>
        protected internal override HttpContent CreateHttpContent()
        {
            throw new NotSupportedException();
        }
    }
}
